const {Sequelize} = require('sequelize');
const mysql = require('../config.json').mysql

const sequelize = new Sequelize(mysql.database, mysql.user, mysql.password, {
	host: mysql.host,
	dialect: 'mysql',
	define: {
		freezeTableName: true
	}
});

module.exports = sequelize
